
#ifndef ROUTERTABLE_H_
#define ROUTERTABLE_H_

#include "EntryRT.h"
#include <vector>


#define	INFINITY 	99999
#define EMPTY_SET	-1


class RouterTable {

public:
	RouterTable(int serial_number, int number_of_nodes);
	virtual ~RouterTable();
	void re_init_table();
	EntryRT *get_entry(int worker_number);
	int 	size();
	void print();

private:
	int					_owner_serial_number;
	int					_number_of_nodes;
	vector<EntryRT*>*	_table;

	void init_table(int serial_number, int number_of_nodes);


};

#endif /* ROUTERTABLE_H_ */
